package com.jams.goodox.entity;

import com.google.gson.annotations.SerializedName;
import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by jams_zhen on 2016/10/14.
 */

public class VisitorHistoryBean extends BaseEntity {


    @SerializedName("data")
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * curPage : 1
         * hasMore : false
         * pageSize : 20
         * total : 0
         */

        @SerializedName("pageInfo")
        private PageInfoBean pageInfo;
        /**
         * communityId : 6699b9df-7e07-11e6-81c1-ecf4bbbf7d00
         * gender : 1
         * hasCar : 1
         * id : 520da9cd-6638-4656-a524-e176a0d777c5
         * intime : 1476435801000
         * ownerAddress : 俄罗斯土耳其日耳曼－－－－－－－－需要你
         * ownerName : 安娜卡列琳娜
         * ownerPhone : 18888888888
         * passCode : 416127809
         * passStatus : 0
         * reason : 访友
         * scheduleAt : 2016-10-14
         * surname : haha
         * userid : 11765597-81fc-4938-beac-beba10b5d991
         * visitorType : 1
         */

        @SerializedName("resultList")
        private List<VisitorEwmBean.DataBean> resultList;

        public PageInfoBean getPageInfo() {
            return pageInfo;
        }

        public void setPageInfo(PageInfoBean pageInfo) {
            this.pageInfo = pageInfo;
        }

        public List<VisitorEwmBean.DataBean> getResultList() {
            return resultList;
        }

        public void setResultList(List<VisitorEwmBean.DataBean> resultList) {
            this.resultList = resultList;
        }

        public static class PageInfoBean {
            @SerializedName("curPage")
            private int curPage;
            @SerializedName("hasMore")
            private boolean hasMore;
            @SerializedName("pageSize")
            private int pageSize;
            @SerializedName("total")
            private int total;

            public int getCurPage() {
                return curPage;
            }

            public void setCurPage(int curPage) {
                this.curPage = curPage;
            }

            public boolean isHasMore() {
                return hasMore;
            }

            public void setHasMore(boolean hasMore) {
                this.hasMore = hasMore;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }
        }

    }
}
